import logging
from logging import error, info, debug
from google.appengine.api.labs import taskqueue

from models import Feed, FeedContent
from google.appengine.api import urlfetch
from google.appengine.api.urlfetch import InvalidURLError, DownloadError
from google.appengine.runtime import  DeadlineExceededError 
from google.appengine.runtime.apiproxy_errors import InterruptedError
import feedparser

import wsgiref.handlers
from google.appengine.ext import webapp
from google.appengine.ext.webapp import template

feed = FeedContent.all()
f = False
k = 0

f = feed.fetch(500);	
print f	
for k2 in f:
	print k2
	k2.delete()

k = k +1

